#include "preference-entry.h"

#include "preference-center.h"


namespace PreferenceEntryHelper
{

void addPreferenceCenterAfterLoadCallback(
    const std::string &name, std::function<void(const PreferenceRawData &data)> &&callback) {

    PreferenceCenter::instance().addAfterLoadCallback(name, std::move(callback));
}

} // namespace PreferenceEntryHelper
